/**   
 * @Title: ChooseService.java 
 * @Package cn.edu.cdtu.healthserver.service 
 * @Description: TODO 
 * @author  
 * @date 
 * @version V0.0   
 */
package cn.edu.cdtu.healthserver.service;

import java.util.List;

import cn.edu.cdtu.healthserver.domain.Choose;
import cn.edu.cdtu.healthserver.domain.Question;

/** 
 * @ClassName: ChooseService 
 * @Description: TODO
 * @author 
 * @date 
 *  
 */
public interface ChooseService {

	/**
	 * 
	 * @Title: getChooses 
	 * @Description: TODO
	 * @return List<Choose>
	 * @throws 
	 *
	 * @param question
	 * @param listAvailable
	 * @return
	 */
	public List<Choose> getChooses(Question question, boolean listAvailable);
	/**
	 * 
	 * @Title: addChoose 
	 * @Description: TODO
	 * @return String
	 * @throws 
	 *
	 * @param question
	 * @param choose
	 * @return
	 */
	public String addChoose(Question question,Choose choose);
	/**
	 * 
	 * @Title: updateChoose 
	 * @Description: TODO
	 * @return String
	 * @throws 
	 *
	 * @param choose
	 * @return
	 */
	public String updateChoose(Choose choose);
	/**
	 * 
	 * @Title: setAvailable 
	 * @Description: TODO
	 * @return String
	 * @throws 
	 *
	 * @param choose
	 * @param available
	 * @return
	 */
	public String setAvailable(Choose choose, boolean available);
	
}
